package com.schoolai.schoolstudy.service;

import com.schoolai.entity.SchoolStudyEnglishWorkTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolai.schoolstudy.req.StudyEnglishWordTaskREQ;
import com.schoolai.util.base.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bobby
 * @since 2025-09-29
 */
public interface SchoolStudyEnglishWorkTaskService extends IService<SchoolStudyEnglishWorkTask> {
    /**
     * 分页查询记忆新单词任务信息
     * @param req 条件查询与分页
     * @return
     */
    public Result queryPage(StudyEnglishWordTaskREQ req);

    /**
     * 通过记忆单词任务id查询单词列表
     * @param id
     * @return
     */
    public Result  getTaskAndListById(String id);

    /**
     * 通过记忆单词任务id查询单词列表（使用MPJ）
     * @param id
     * @return
     */
    public Result  getTaskAndListById(String id,Boolean isMPJ);

    /**
     *     删除单词任务及单词（使用MPJ）
     *      * @param id
     *      * @return
     *
     *
     */
    public Result deleteTaskAndListById(String id);
}
